<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
      xmlns:h="http://xmlns.jcp.org/jsf/html"
      xmlns:f="http://xmlns.jcp.org/jsf/core"
      xmlns:p="http://primefaces.org/ui">

    <ui:composition>

        <p:dialog id="TareaViewDlg" widgetVar="TareaViewDialog" modal="true" resizable="false" appendTo="@(body)" header="#{bundle.ViewTareaTitle}">
            <h:form id="TareaViewForm">
                <h:panelGroup id="display">
                    <p:panelGrid columns="2" rendered="#{tareaController.selected != null}">
                        <h:outputText value="#{bundle.ViewTareaLabel_idtarea}"/>
                        <h:outputText value="#{tareaController.selected.idtarea}" title="#{bundle.ViewTareaTitle_idtarea}"/>
                        <h:outputText value="#{bundle.ViewTareaLabel_descripcion}"/>
                        <h:outputText value="#{tareaController.selected.descripcion}" title="#{bundle.ViewTareaTitle_descripcion}"/>
                        <h:outputText value="#{bundle.ViewTareaLabel_duracion}"/>
                        <h:outputText value="#{tareaController.selected.duracion}" title="#{bundle.ViewTareaTitle_duracion}"/>
                        <h:outputText value="#{bundle.ViewTareaLabel_FInicio}"/>
                        <h:outputText value="#{tareaController.selected.FInicio}" title="#{bundle.ViewTareaTitle_FInicio}">
                            <f:convertDateTime pattern="MM/dd/yyyy" />
                        </h:outputText>
                        <h:outputText value="#{bundle.ViewTareaLabel_FFin}"/>
                        <h:outputText value="#{tareaController.selected.FFin}" title="#{bundle.ViewTareaTitle_FFin}">
                            <f:convertDateTime pattern="MM/dd/yyyy" />
                        </h:outputText>
                        <h:outputText value="#{bundle.ViewTareaLabel_responsable}"/>
                        <h:outputText value="#{tareaController.selected.responsable}" title="#{bundle.ViewTareaTitle_responsable}"/>
                        <h:outputText value="#{bundle.ViewTareaLabel_itemsControl}"/>
                        <h:outputText value="#{tareaController.selected.itemsControl}" title="#{bundle.ViewTareaTitle_itemsControl}"/>
                        <h:outputText value="#{bundle.ViewTareaLabel_objetivoEstrategicoIdobjetivoEstrategico}"/>
                        <h:outputText value="#{tareaController.selected.objetivoEstrategicoIdobjetivoEstrategico}" title="#{bundle.ViewTareaTitle_objetivoEstrategicoIdobjetivoEstrategico}"/>
                        <h:outputText value="#{bundle.ViewTareaLabel_predecesoraIdtarea}"/>
                        <h:outputText value="#{tareaController.selected.predecesoraIdtarea}" title="#{bundle.ViewTareaTitle_predecesoraIdtarea}"/>
                    </p:panelGrid>
                    <p:commandButton value="#{bundle.Close}" onclick="TareaViewDialog.hide()"/>
                </h:panelGroup>
            </h:form>
        </p:dialog>

    </ui:composition>
</html>
